Withdata Software

Producing high-quality database tools

Main menu

Skip to primary content
Skip to secondary content
  • Withdata Software
  • Blog
  • Categories
  • Tags

Category Archives: Mysql

Post navigation

Newer posts →

How to generate a CREATE TABLE statement for a given table in Mysql

Posted on June 13, 2013 by Shiji Pan

Just use SHOW CREATE TABLE SHOW CREATE TABLE my_table See also: How to generate a CREATE TABLE statement for a given table in SQL Server How to generate a CREATE TABLE statement for a given table in Oracle How to generate a CREATE TABLE statement for a given table in SQLite Some MySQL tools you ... Read more

Posted in Mysql | Tagged generate a CREATE TABLE statement, Mysql

Remove duplicate rows in MySQL

Posted on May 31, 2013 by Shiji Pan

The primary key: id, the unique columns:  col_1, col_2, col_3 . You can use a temporary table, like: create temporary table temp_table (id int); insert temp_table (id) select id from your_table t1 where exists ( select * from your_table t2 ... Read more

Posted in Mysql | Tagged Mysql, Remove duplicate rows

How to get column names from Mysql table

Posted on May 30, 2013 by Shiji Pan

We can use information_schema.columns for getting column information SELECT column_name FROM information_schema.columns WHERE table_schema = ‘My_Schema_Name’ AND table_name = ‘My_Table_Name’ See also: How to get column names from Sql Server table How to get column names ... Read more

Posted in Mysql | Tagged get column names, Mysql

Post navigation

Newer posts →

Recent Posts

  • Use Cases for Dumping to CSV
  • Convert Text to Speech by CSV / TSV
Withdata Software. ©2004 - 2025 All rights reserved.