From the course: Learning phpMyAdmin

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Building queries manually on a single table

Building queries manually on a single table

From the course: Learning phpMyAdmin

Start my 1-month free trial

Building queries manually on a single table

- The SQL tab handles queries in a more traditional manner. It works differently depending on whether you've selected an individual table or a whole database. Let's see how it works with a single table. I'm going to select the cars table in the up_and_running database and then the SQL tab. With a single table selected this large text area contains a default select query. There where 1 at the end is a condition that's always true, so this will select all of the columns in the table. The panel on the right lists all of the columns in the table and at the bottom here is a series of buttons. If you're using an older version of phpMyAdmin, you won't have all of the options that are shown here. So let's take a look at these options. The first button, select *, reinserts that default select query. Select inserts a select query that names each column individually. Insert creates an insert statement with placeholders for the value for each column. Update similarly creates an update statement…

Contents