About 199,000 results
Open links in new tab
  1. How to get database structure in MySQL via query?

    Feb 8, 2023 · Is it possible to somehow get structure of MySQL database, or just some table with simple query? Or is there another way, how can I do it?

  2. How do I show the schema of a table in a MySQL database?

    Sep 30, 2009 · Database is synonymous with schema in mysql/mariadb. The SHOW CREATE TABLE statement can be used to retrieve the CREATE TABLE statement to reproduce this …

  3. MySQL Tutorial - W3Schools

    At W3Schools you will find a complete reference of MySQL data types and functions: MySQL Data Types. MySQL Functions. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and …

  4. MySQL | Common MySQL Queries - GeeksforGeeks

    Feb 12, 2025 · Queries can be understood as the commands which interacts with database tables to work around with data. Some of the commonly used MySQL queries, operators, and functions are as follows : 1. SHOW DATABASES. This displays information of all the existing databases in the server. Output:

  5. MySQL: 3 ways to see the structure of a table - Sling Academy

    Jan 25, 2024 · The DESCRIBE statement is a simple and quick way to view the basic structure of a table, providing a set of essential details for each column such as field type, nullability, default values, and primary or unique keys.

  6. MySQL Queries: Behind the Scenes — A Deep Dive into How It All …

    Sep 14, 2024 · Understanding how MySQL processes queries can significantly improve your ability to write efficient SQL, troubleshoot performance issues, and tune database systems.

  7. How to get table structure and its data through mysql query?

    Nov 6, 2015 · To get a list of tables on the database, use this SQL statement: Retrieving the Table Definition of an Existing Table. Also check this link for more commands related to MySQL tables: MySQL Table Commands. I want column names, their types and its complete data. mysqli_fetch_fields can be used to get the metadata for a mysqli_result response.

  8. Get a MySQL table structure with DESCRIBE - The Electric Toolbox Blog

    There are at least two ways to get a MySQL table’s structure using SQL queries. The first is using DESCRIBE and the second by querying the INFORMATION_SCHEMA. This post deals with the DESCRIBE function and the next MySQL post looks at the INFORMATION_SCHEMA.

  9. MySQL Query to Display Structure of a Table

    Learn how to use MySQL queries to display the structure of a table effectively in your database management tasks.

  10. How to Show Table and Database Structure in MySQL - Delft Stack

    Feb 2, 2024 · Today, we will learn about queries that can show the table and database structure in MySQL. We will be using the mysqldump utility, DESCRIBE, SHOW TABLES, and SHOW CREATE TABLE statements. We used MySQL 8.0.28 version while writing this tutorial. We can use different ways to get the table structure in MySQL based on requirements.

  11. Some results have been removed