DBMS SQL Practice Questions Shivani
DBMS SQL Practice Questions Shivani
Output
Query
desc datasheet;
Output
INSERT THE VALUES IN TABLE
Query
Query
SET SQL_SAFE_UPDATES = 0;
Update datasheet
set course =’Marketing'
where Name='Shamu';
Select * from datasheet;
MODIFY THE STRUCTURE OF THE TABLES
Query
Output
Query
DROP TABLE
Query
Output
Foreign Key
SET SQL_SAFE_UPDATES = 0;
Update Employees
set Empid = 1
where Empid = 1003;
select * from Employees;
Display the details of the employees whose department lies in (1, 5).