Answers for "desc command in sql"

SQL
1

select from describe sql

SELECT COLUMN_NAME AS `Field`, COLUMN_TYPE AS `Type`, IS_NULLABLE AS `NULL`, 
       COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS `Extra`
FROM information_schema.COLUMNS  
WHERE TABLE_SCHEMA = 'schemaName' AND TABLE_NAME = 'table1';
Posted by: Guest on February-25-2020
0

desc sql

SELECT * FROM Customers
ORDER BY CustomerName DESC;
Posted by: Guest on September-09-2021
0

describe table in sql

desc <table name>;
Posted by: Guest on December-07-2020
0

sql desc

Used with ORDER BY to return the data in descending order.
Example: Raddish, Peaches, Bananas, Apples
Posted by: Guest on January-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language