16 lines
410 B
MySQL
16 lines
410 B
MySQL
|
/*Write a query to display all the columns from salesman table.*/
|
||
|
/*SELECT [DISTINCT] [<qualifier>.]<column_name> |*|
|
||
|
<expression>
|
||
|
[AS <column_alias>],...
|
||
|
FROM <table_or_view_name> |
|
||
|
<inline_view>
|
||
|
[[AS] <table_alias>]
|
||
|
[WHERE <predicate>]
|
||
|
[GROUP BY [<qualifier>.]<column_name>,...
|
||
|
[HAVING <predicate>]
|
||
|
]
|
||
|
[ORDER_BY <column_name> |
|
||
|
<column_number>
|
||
|
[ASC | DESC],...
|
||
|
];*/
|
||
|
SELECT * FROM salesman;
|