0% found this document useful (0 votes)
17 views1 page

Retrieving Data Using The SQL Select Statement

Uploaded by

dahiyaneha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

Retrieving Data Using The SQL Select Statement

Uploaded by

dahiyaneha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Retrieving data using the SQL select Statement

1. Determine the structure of DEPT table and its contents:

DESCRIBE DEPT;

2. Determine the structure of EMP table and its contents:

DESCRIBE EMP;

3. Display the Ename and Deptno from Emp table whose Empno is 7788:

SELECT Ename, Deptno FROM Emp WHERE Empno = 7788;

You might also like