js/questions.js
/**
 * Question 1: Select all columns 
 * Sample: SELECT * FROM tbl_name
 */
Question 1: Select all columns
Sample: SELECT * FROM tbl_name
Question 1 : Select all columns Sample : SELECT * FROM tbl_name
function Question1() {
	var cache = Cookies.getJSON('Question-1')
	if(typeof cache === 'undefined')
	{
		var tbl_name = getTables(1)
		var Q = 'Select everything from the table <em>' + tbl_name + '</em>'
		var A = 'SELECT * FROM `' + tbl_name + '`'
		cache = {Question: Q, Answer: A}
		Cookies.set("Question-1", JSON.stringify(cache))
	}
	return cache.Question
}
function Question1 ( ) { var cache = Cookies . getJSON ( 'Question-1' ) if ( typeof cache === 'undefined' ) { var tbl_name = getTables ( 1 ) var Q = 'Select everything from the table <em>' + tbl_name + '</em>' var A = 'SELECT * FROM `' + tbl_name + '`' cache = { Question : Q , Answer : A } Cookies . set ( "Question-1" , JSON . stringify ( cache ) ) } return cache . Question }
Question 1: Select all columns
 Sample: SELECT * FROM tbl_name
Question 1 : Select all columns Sample : SELECT * FROM tbl_name
//check if we have a stored version already saved? if not make one...
 //set the cache
