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.
Using QBE to set multiple conditions in a WHERE clause
From the course: Learning phpMyAdmin
Using QBE to set multiple conditions in a WHERE clause
- The Query tab allows you to build complex Queries by Example. The tab is visible only when you have a database selected in phpMyAdmin. So let's select the up_and_running database. The Query tab is the fourth tab from the left at the top. But if you've got an individual table selected, let's say I've got the cars table selected, that Query tab then disappears. So if you use Query by Example, you must be at the database level so let's go back up to database up_and_running and then select the Query tab. There's an invitation at the top to switch to a visual builder. In my experience, the visual builder is not at all reliable. I much prefer using the form-based interface so that's what we'll do. When you first open the Query tab, all of the options in here can be a little bit overwhelming so let's take a quick tour of what we've got. By default, the form displays fields for three columns and you also got two rows for Criteria, in other words, conditions that you want to add to a WHERE…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Performing a simple search8m 28s
-
(Locked)
Using query by example (QBE) to perform a simple search6m 6s
-
(Locked)
Finding and replacing text in a column3m 36s
-
(Locked)
Using QBE to set multiple conditions in a WHERE clause8m 2s
-
(Locked)
Joining multiple tables with QBE5m 2s
-
(Locked)
Building queries manually on a single table6m 48s
-
(Locked)
Building a query manually on multiple tables4m 3s
-
(Locked)
Saving frequently used queries with bookmarks7m 26s
-
(Locked)
Using a variable with a bookmarked query5m 37s
-
(Locked)
Using variables with bookmarks in phpMyAdmin 4.57m 19s
-
(Locked)
Using named parameters in a query4m 53s
-
(Locked)
Running queries from the console6m 31s
-
(Locked)
New Console options in phpMyAdmin 4.52m 17s
-
(Locked)
-
-
-