SecNotes

Alright I feel like an idiot at this point. I watched ippecs vid. I understand the sec_ord injection but I cannot get the query right. Can someone nudge me to a resource or push me over the edge on the correct syntax?
Thanks!