How would I check to see if a value exists with name Dan in column sess from a table called Table1 with 3 columns called id, sess, and timeD.
Sess type is JSON
Table1
id sess timeD
1 {"cookie":{expires:null}, "name": "Joey"} 12:30
2 {"cookie":{expires:null}, "name": "Dan"} 1:00
3 {"cookie":{expires:null}, "name": "Bob"} 1:20