I have a database as follows.
security_id ticker company_name
----------------------------------------------
100019 PANL UNIVERSAL DISPLAY CORP
10001 NAFC NASH FINCH CO
100030 PRVT PRIVATE MEDIA GROUP INC
100033 REFR RESEARCH FRONTIER INC
I have a list of ticker symbols like [GOOG, NAFC, AAPL, PRVT] and I want to get a list of security_id's that are associated with these ticker symbols I have in the list.
I'm new to SQL, so at first I thought of obtaining it one by one by iteration, this works but its really, so I was wondering if there is a SQL statement that can help me.