Enter an SQL SELECT query:
(see examples below)
playlist and the columns (i.e. fields)
are as follows:
+-------------+--------------+ | Field | Type | +-------------+--------------+ | programdate | date | | artist | varchar(200) | | tune | varchar(60) | | duration | time | | recformat | varchar(10) | | rectitle | varchar(60) | | spine | varchar(25) | | cutnum | varchar(15) | | relyear | year(4) | | label | varchar(40) | | position | int(11) | +-------------+--------------+
To find all tunes with "aislers set" in the artist field:
* character means that all the columns in the table
will be displayed. The search is case-insensitive.
Don't forget to use the % wildcard symbol
at the beginning and end of the search string
if you want to match substrings!
(For example, use '%aislers%', not 'aislers'.)
rectitle
(Recording Title) field:
programdate column, so we
specify SELECT programdate instead of SELECT *.
We must use GROUP BY programdate, otherwise we will
get one row per matching tune instead of one row per matching
program date.)
If you need help putting together a specific query, post a question on the BNW message board and I'll see what I can do.
For details on the SELECT command syntax, see the MySQL documentation (e.g. Retrieving Information from a Table, Examples of Common Queries, SELECT Syntax).
I know this isn't very user-friendly, but I didn't want to make a separate web form (with scrollable lists, drop-down menus, radio buttons, and check boxes) for every possible type of query.