user: ### NOW ANSWER:
Question: When 790 AM is the frequency what is the format?
Columns: ['Call sign', 'Frequency', 'City of License', 'Licensee', 'Format']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['WADK', '1540 AM', 'Newport', 'Astro Tele-Communications Corp.', 'News/Talk']
SQL:

assistant: SELECT "Format" FROM "Table" WHERE "Frequency" = '790 AM';