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

SQL

The document provides SQL query examples for selecting distinct values from a table and filtering results based on a condition. The first example shows the syntax for selecting distinct columns with an alias, while the second example retrieves records from the 'EMP' table where the hire date is after January 11, 1983. Both queries illustrate basic SQL operations for data retrieval.

Uploaded by

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

SQL

The document provides SQL query examples for selecting distinct values from a table and filtering results based on a condition. The first example shows the syntax for selecting distinct columns with an alias, while the second example retrieves records from the 'EMP' table where the hire date is after January 11, 1983. Both queries illustrate basic SQL operations for data retrieval.

Uploaded by

Ayush Kashyap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1) SELECT */DISTINCT COL-NAME/EXPRESSION ALIAS

FROM TAB_NAME;
WHERE <FILTR_CONDN>;

2)SELECT * FROM EMP WHERE HIREDATE >'11-JAN-1983'

You might also like