i have tables as follow:
CREATE TABLE auth
(
id int not null auto_increment,
primary key (id),
username varchar(20) binary,
rank char(3),
);
CREATE TABLE public
(
id int not null auto_increment,
primary key (id),
gender varchar(6),
);
i am trying to get php to list the top 100 ranked males and also the same thing for females.
i am trying SELECT auth.username, auth.rank, auth.votes, public.age FROM public as public, auth as auth WHERE gender='Male' and i can't even get it to select only the males? any advice?