About 31,300,000 results
Open links in new tab
  1. How to Show/List Tables in MySQL Database - GeeksforGeeks

    Jun 11, 2024 · In MySQL, the SHOW TABLES command is a powerful tool used to list the tables within a specific database. This command provides a convenient way to view the tables that exist in a database without needing to query the database schema directly.

  2. MySQL SHOW TABLES: List Tables In a MySQL Database - MySQL

    Use the SHOW TABLE statement to list all tables in a database. Use the SHOW FULL TABLE statement to return an additional column that indicates the object is a view or table. Use the SHOW TABLE FROM statement to list tables in a database.

  3. Get table names using SELECT statement in MySQL

    Is there a way to get the table names using a standard SELECT statement, something like: INSERT INTO metadata(table_name) SELECT name FROM table_names /* what should table_names be? */ possible duplicate of stackoverflow.com/questions/64894/… SELECT table_name FROM information_schema.tables. WHERE table_schema = …

  4. 5.4 Getting Information About Databases and Tables - MySQL

    To find out which database is currently selected, use the DATABASE() function: If you have not yet selected any database, the result is NULL. To find out what tables the default database contains (for example, when you are not sure about the name of a table), use this statement:

  5. 4 Ways to List All Tables in a MySQL Database

    Mar 1, 2022 · Below are four ways to list out the tables in a MySQL database using SQL or the command line. The SHOW TABLES command lists the non- TEMPORARY tables and views in a given database: Result: That listed all tables in the current database, which is called Music. We can also use the FULL modifier to return a second column that displays the type:

  6. How to Check and Repair MySQL Tables using Mysqlcheck

    6 days ago · To check a specific table in a database, use the following syntax: mysqlcheck -u [username] -p [database_name] [table_name] This command checks the specified table for any data inconsistencies or issues.

  7. How to show tables in Database in MySQL?

    Dec 16, 2024 · Once you have created a table, you can display it in the database using the SHOW TABLES statement. Here’s an example: This statement will display a list of all tables in the database. You can also use the DESCRIBE statement to display the structure of a specific table.

  8. List Tables in a Database Using SHOW TABLES in MySQL

    This article describes how to use the SHOW TABLES statement list all tables in a specified database. Sometimes, you need to know how many tables are there in the current database, or check whether a specified table exists in the current database.

  9. SQL Show Tables: List All Tables in a Database

    Jun 2, 2023 · There are a few ways to list tables in MySQL. You can run the command SHOW TABLES once you have logged on to a database to see all tables.

  10. MySQL: How do I list the tables in a MySQL database?

    Jul 31, 2024 · To list (or show) the tables in a MySQL database, follow these steps: A complete example/solution follows. First, connect to your MySQL database using your MySQL client from your operating system command line: Next, after you're logged into your MySQL database, tell MySQL which database you want to use:

  11. Some results have been removed
Refresh