Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view table contents in Mysql Workbench GUI?

How can I view table contents in Mysql workbench GUI? I mean, not from command line.

like image 997
alwbtc Avatar asked Sep 05 '13 19:09

alwbtc


People also ask

How do I view the contents of a table in MySQL Workbench?

To open, right-click a table in the object browser of the Navigator pane and choose Table Inspector from the context menu. The Table Inspector shows information related to the table.

How do I view the contents of a table?

There are a number of ways to display the contents of a table, all from the Database Explorer window: click on the table, then either: right-click and select Display. click on the Table > Display Table menu option.


1 Answers

Open a connection to your server first (SQL IDE) from the home screen. Then use the context menu in the schema tree to run a query that simply selects rows from the selected table. The LIMIT attached to that is to avoid reading too many rows by accident. This limit can be switched off (or adjusted) in the preferences dialog.

enter image description here

This quick way to select rows is however not very flexible. Normally you would run a query (File / New Query Tab) in the editor with additional conditions, like a sort order:

enter image description here

like image 80
Mike Lischke Avatar answered Dec 09 '22 23:12

Mike Lischke