relacna databaZa

mam napr. taketo dve tabulky :
1. create table liga (id int(2) auto_increment not null, liga int (2) not null, primary key(id));
2. create table hrac(id int(2) auto_increment not null, meno varchar(10),primary key(id),foreign key(id_liga) references liga(id));

no a teraz ked chcem dat napriklad vypis tak isto ako by som aj v cistom SQL napisal (ale by to fungovalo) napr. SELECT meno,liga from hrac,liga where hrac.id_liga=liga.id) ; tak mi vypise chybu "Unkown column hrac.id_liga in 'where clause'


Nevie niekto pls co s tym je ?
bude to isto len nejaka blbaa chyba .... diky
nic uz som nato prisiel zabudol som deklarovat jeden stlpec toho FK kluca v tej druhej tabulke uz to ide