About 255,000 results
Open links in new tab
  1. SQL DESC Keyword - W3Schools

    The DESC command is used to sort the data returned in descending order. The following SQL statement selects all the columns from the "Customers" table, sorted descending by the "CustomerName" column:

  2. SQL | DESCRIBE Statement - GeeksforGeeks

    May 10, 2023 · Prerequisite: SQL Create Clause. As the name suggests, DESCRIBE is used to describe something. Since in a database, we have tables, that’s why do we use DESCRIBE or DESC(both are the same) commands to describe the structure of a table. Syntax: DESCRIBE one; OR. DESC one; Note: We can use either DESCRIBE or DESC(both are Case Insensitive).

  3. What is the equivalent of 'describe table' in SQL Server?

    Nov 26, 2008 · Ctrl+W can be used to expand the selection and select the whole name. Use this Query. Works for me if you say "use MyDatabase" first.

  4. Not able to use DESC command in SQL Server 2012 Management Studio

    Nov 10, 2013 · DESC is not an SQL command, it's an SQL*Plus function - i.e., it won't work on other tools, especially if they are used to mange non-oracle databases. You can use EXEC sp_help 'my_table' as a way of getting a comparable functionality. For example : If your table name is CUSTOMERS.

  5. What is DESC Command in SQL? - Scaler

    Jan 18, 2023 · We can use the DESC or DESCRIBE command to find the fields of this table. Let's say the given table has three columns named ROLL_NO, NAME and MARKS. The same info can be obtained by running the desc table command as shown below: Output:

  6. DESC Command in SQL - Naukri Code 360

    May 22, 2024 · The DESC in SQL is used in the "ORDER BY" clause to sort query results in descending order, arranging data from highest to lowest. and it can describe a table's structure, showing column names and data types.

  7. SQL DESC Statement (Describe Table) - Way2tutorial

    SQL DESC statement use for describe the list of column definitions for specified table. You can use either DESC or DESCRIBE statement. both are return same result.

  8. SQL DESC Keyword: Mastering Descending Order Sorting in SQL

    Oct 27, 2024 · SQL provides the ORDER BY clause to sort the results of a SELECT statement, and the DESC keyword plays a crucial role in specifying a descending order. This guide provides a comprehensive overview of the DESC keyword in SQL, including syntax, examples, and best practices. What is the SQL DESC Keyword?

  9. SQL ORDER BY DESC - TutorialsCampus

    In this topic, we described about the ORDER BY DESC with detailed example. ORDER BY DESC statement is used to sort data in result-set in descending order. ORDER BY DESC statement is used in SELECT statement. FROM table_name. [ WHERE condition ] ORDER BY column_name DESC; column1, column2, …, columnN - Specifies the column names from table.

  10. How to Describe a Table in SQL? - Scaler Topics

    Oct 13, 2022 · To describe a table in SQL we first write DESC or DESCRIBE and the name of the table followed by a semicolon ;. Syntax: SQL Query to create Agents table: AGENT_CODE CHAR(6) PRIMARY KEY, . AGENT_NAME VARCHAR(20), . PHONE_NO CHAR(15), . COUNTRY VARCHAR(25) . ); Insert values to the Agents table:

  11. Some results have been removed
Refresh