001 |
SET
NAMES "utf8" COLLATE "utf8_general_ci"
File | Function | Line | /path/to/Zebra_Database/Zebra_Database.php | query() | 4067 | /path/to/Zebra_Database/examples/example.php | set_charset() | 64 | |
002 |
SELECT
Code
FROM
`country`
WHERE
Name = 'United States'
LIMIT
1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra | 1 | SIMPLE | country | | ALL | | | | | 239 | 10.00 | Using where |
File | Function | Line | /path/to/Zebra_Database/Zebra_Database.php | query() | 1271 | /path/to/Zebra_Database/examples/example.php | dlookup() | 70 | |
003 |
SELECT
Name
FROM
city
WHERE
CountryCode = 'USA'
ORDER BY
Name
Name | Abilene | Akron | Albany | Albuquerque | Alexandria | Allentown | Amarillo | Anaheim | Anchorage | Ann Arbor | Arden-Arcade | Arlington | Arlington | Arvada | Athens-Clarke County | Atlanta | Augusta-Richmond County | Aurora | Aurora | Austin |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra | 1 | SIMPLE | city | | ref | CountryCode | CountryCode | 12 | const | 274 | 100.00 | Using index condition; Using filesort |
File | Function | Line | /path/to/Zebra_Database/examples/example.php | query() | 82 | |
004 |
SELECT
Language,
IsOfficial,
Percentage
FROM
countrylanguage
WHERE
CountryCode = 'USA'
ORDER BY
Percentage DESC
Language | IsOfficial | Percentage | English | T | 86.2 | Spanish | F | 7.5 | French | F | 0.7 | German | F | 0.7 | Chinese | F | 0.6 | Italian | F | 0.6 | Tagalog | F | 0.4 | Korean | F | 0.3 | Polish | F | 0.3 | Japanese | F | 0.2 | Portuguese | F | 0.2 | Vietnamese | F | 0.2 |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra | 1 | SIMPLE | countrylanguage | | ref | PRIMARY,CountryCode | PRIMARY | 12 | const | 12 | 100.00 | Using where; Using filesort |
File | Function | Line | /path/to/Zebra_Database/examples/example.php | query() | 96 | |