Quote:
Originally Posted by r937
please do a SHOW CREATE TABLE on the table, and give an example of a search query that uses this table
|
I used following query to create table
CREATE TABLE `draggin_classifieds`.`cfd_tags` (
`postid` BIGINT NOT NULL ,
`tagname` VARCHAR( 128 ) NOT NULL ,
INDEX ( `postid` )
) ENGINE = InnoDB;
Now when I wnat to retrieve all the posts with a tagname I am using
SELECT * FROM cfd_tags WHERE tagname='sometag' LIMIT 0, 20;