Input
List B
Result
Ad space: paste your AdSense code here
How to use it
- Copy a column in Excel and paste it into the input box.
- Choose the quote style, separator and options such as remove duplicates.
- Click Copy and paste the result into your SQL query.
Frequently asked questions
How do I convert an Excel column to a comma separated list?
Copy the column, paste it here, and choose Comma as the separator. The result updates as you type.
Is there a limit on how many values an IN list can hold?
It depends on the database. Oracle allows 1,000 items in an IN list, while others allow more. For very long lists, split them or use a temporary table.
More SQL tools
๐ Rows โ columnsSwap pasted data so vertical becomes horizontal, and the other way round.โ๏ธ Split to rowsTurn one line like a,b,c into one value per row.๐ฅ Excel to INSERTPaste rows copied from Excel and get one INSERT statement per row.โ๏ธ Compare two listsFind what is in one list but not the other, what both share, or all unique values.๐งน Clean & sort linesTrim spaces, remove duplicates, sort, change case, and add text to every line.โจ SQL formatterPut each major clause on its own line and uppercase keywords.