Singleton Select SQL:

SELECT 
  a.contact_id as contact_id,
  e_mail_address,
  user_name
FROM 
  user_authentication a
  left join contact c on (c.contact_id = a.contact_id)
  left join user_account u on (u.contact_id = a.contact_id)
WHERE 
  (ua_data = \"e8422262aaa4d88e7275537a350126f3\") and
  (last_access_time >= DATE_SUB(NOW(), INTERVAL 30 MINUTE))

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\"e8422262aaa4d88e7275537a350126f3\") and (last_access_time >= DATE_SUB(NOW(),' at line 10

Singleton Select SQL:

select
  count(*) as top_10_school_count
from
  school_listing sl
  left join organisation o on (o.organisation_id = sl.organisation_id)
where
  (sl_id <> 0) and
  (product_code = \"SCHL-TOP-10-NEW\") and
  (sl_authorisation_code = \"APPROVED\") and
  (\"2010-03-11\" BETWEEN sl_start_date AND sl_expiry_date)  

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\"SCHL-TOP-10-NEW\") and (sl_authorisation_code = \"APPROVED\") and (\"2010-' at line 8 Link your school with the English Job Maze
\"Link

Name of Institution :
Country :
select
  spv_short_desc, spv_value
from
  sys_picklist_value v
  left join sys_picklist l on (v.sys_picklist_id = l.sys_picklist_id)
where
  l.spl_short_desc = \"iso_country_3_letter\"
order by
  spv_short_desc


City :
Address :
Contact Person :
E-mail :
Telephone :
Fax :
Website :
Username :
Password :
Confirm Password :
(new users only)
Choose link :
Credit card type :
Visa MasterCard American Express Delta
Pay by Fax
   
\"Copyright \"About \"Privacy \"Disclaimer\" \"Subscribe \"Advertise \"Contact
\"Home\" \"Job \"Job \"Teacher \"Cool \"Post \"Access \"Top \"Contact