How To Control Output Formatting Via The MySQL Shell CLI

Author: , May 26th, 2021 Multiple Formats Available: Table Format – use –result-format=table, alias –table Tab Separated Format – use –result-format=tabbed, alias –tabbed Vertical Format – use –result-format=vertical, alias –vertical JSON Format Output – use –result-format=VALUE, alias –json[=pretty|raw|off] VALUE may be one of: json or json/pretty – These options both produce pretty-printed JSON. ndjson or json/raw – These options […]

How To Get the Structure of All Tables in a MySQL Database Using mysqldump

Author: , December 2nd, 2018

mysqldump -u {yourUserNameHere} -p –no-data –compact {yourDatabaseHere}

How To Select Rows in MySQL with No Matching Entry in Another Table

Author: , May 16th, 2018

SELECT FROM tableOne t1 LEFT JOIN tableTwo t2 ON = WHERE IS NULL The “WHERE IS NULL clause” restricts the results to only those rows where the id returned from tableTwo is null. will be NULL for all records from tableOne where the id is not found in tableTwo.

How To Select the First Table Cell in the First Row Using CSS

Author: , April 19th, 2014

table.myTable > tbody > tr:first-child > td:first-child

How To Disable Sort in DataTables

Author: , July 10th, 2013

To turn off Sort completely, use the ‘bSort’: false option. To have sorting turned off to begin with, but the user can still click on the columns to sort, use the ‘aaSorting’: [] (i.e. empty array) option. Happy Coding!

How To Create a Responsive Table Using jQuery

Author: , April 19th, 2013

The jQuery


How To Copy Data From Table To Table Using MySQL

Author: , June 8th, 2011

How To Fix Safari And IE7 Table Rendering Problems

Author: , May 30th, 2011

I was having trouble with a table not sizing properly. The width of the table was much wider that the content. It tuns out that both Safari and IE7 have trouble with COLSPAN. Worked just fine in FF and IE8. The fix was to make the COLSPAN into a single cell and place another table […]