Zebra Database

This page is the static HTML demo of what you would get when running the example provided in the examples folder, with some of the output removed and/or altered for privacy reasons, and with some added code so that you can get a better overview of what you get when using this library.

001
Table 'world.countrylanguageincorrect' doesn't exist
SELECT
    Language,
    IsOfficial,
    Percentage
FROM
    countrylanguageINCORRECT
WHERE
    CountryCode = 'USA'
ORDER BY
    Percentage DESC
FileFunctionLine
/path/to/Zebra_Database/examples/example.phpquery()109
001
SET
    NAMES "utf8" COLLATE "utf8_general_ci"
FileFunctionLine
/path/to/Zebra_Database/Zebra_Database.phpquery()4067
/path/to/Zebra_Database/examples/example.phpset_charset()64
002
SELECT
    Code
FROM
    `country`
WHERE
    Name = 'United States'
LIMIT
    1
Code
USA
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcountryALL23910.00Using where
FileFunctionLine
/path/to/Zebra_Database/Zebra_Database.phpquery()1271
/path/to/Zebra_Database/examples/example.phpdlookup()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
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcityrefCountryCodeCountryCode12const274100.00Using index condition; Using filesort
FileFunctionLine
/path/to/Zebra_Database/examples/example.phpquery()82
004
SELECT
    Language,
    IsOfficial,
    Percentage
FROM
    countrylanguage
WHERE
    CountryCode = 'USA'
ORDER BY
    Percentage DESC
LanguageIsOfficialPercentage
EnglishT86.2
SpanishF7.5
FrenchF0.7
GermanF0.7
ChineseF0.6
ItalianF0.6
TagalogF0.4
KoreanF0.3
PolishF0.3
JapaneseF0.2
PortugueseF0.2
VietnameseF0.2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcountrylanguagerefPRIMARY,CountryCodePRIMARY12const12100.00Using where; Using filesort
FileFunctionLine
/path/to/Zebra_Database/examples/example.phpquery()96
001
$_REQUEST
NULL
001
$_POST
array (
)
001
$_GET
array (
)
001
$_FILES
array (
)
4 / 1