DELETE FROM sale WHERE DATE_ADD(expiry_date, INTERVAL 1 MONTH)<=NOW()
Access denied for user 'apache'@'localhost' (using password: NO)
BackDELETE FROM voucher WHERE DATE_ADD(expiry_date, INTERVAL 1 MONTH)<=NOW()
Access denied for user 'apache'@'localhost' (using password: NO)
BackSELECT title, IF (sum(vote) <> '', (sum(vote)+past_vote)/(count(vote)+past_number_vote), (past_vote/past_number_vote)) as val, key_word
FROM listings LEFT JOIN polls ON polls.id_listing=listings.id, keyword
WHERE keyword.id_listing=listings.id AND `order`=1 GROUP BY listings.id
ORDER BY val DESC, title LIMIT 10
Access denied for user 'apache'@'localhost' (using password: NO)
BackSELECT count(*) FROM listings
Access denied for user 'apache'@'localhost' (using password: NO)
BackSELECT count(*) FROM products
Access denied for user 'apache'@'localhost' (using password: NO)
BackSELECT id, title FROM category WHERE id_parent='0' ORDER BY title
Access denied for user 'apache'@'localhost' (using password: NO)
BackDROP TABLE IF EXISTS product_search_result
Access denied for user 'apache'@'localhost' (using password: NO)
BackCREATE TEMPORARY TABLE product_search_result (
id bigint(20) PRIMARY KEY,
p_d_f_id bigint(20) unsigned NOT NULL default '0',
price_of_product float NOT NULL default '0',
product_title varchar(255) NOT NULL default '',
product_description text NOT NULL,
image_url varchar(255) NOT NULL default ''
)
Access denied for user 'apache'@'localhost' (using password: NO)
BackINSERT INTO product_search_result
SELECT products.id as id, products.id_pr_data_feed as p_d_f_id, products.price_of_product,products.product_title, products.product_description,products.image_url FROM products where MATCH(products.product_title) AGAINST ('"ipod"' IN BOOLEAN MODE)
Access denied for user 'apache'@'localhost' (using password: NO)
BackREPLACE INTO product_search_result
SELECT products.id as id, products.id_pr_data_feed as p_d_f_id, products.price_of_product,products.product_title, products.product_description,products.image_url FROM products where MATCH(products.product_title) AGAINST ('+ipod' IN BOOLEAN MODE)
Access denied for user 'apache'@'localhost' (using password: NO)
BackREPLACE INTO product_search_result
SELECT products.id as id, products.id_pr_data_feed as p_d_f_id, products.price_of_product,products.product_title, products.product_description,products.image_url FROM products where MATCH(products.product_description) AGAINST ('+ipod' IN BOOLEAN MODE)
Access denied for user 'apache'@'localhost' (using password: NO)
BackSELECT * FROM product_search_result LIMIT 5
Access denied for user 'apache'@'localhost' (using password: NO)
Back