programming-examples/sql/RetrieveFromTables/Write a query to display all the columns from salesman table.sql
2019-11-18 14:05:53 +01:00

16 lines
410 B
SQL

/*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;