summaryrefslogtreecommitdiff
path: root/lib/input/sql/selectColumns.sql
blob: a8a224c4775e0d98dbd1648c93c507345d04abcc (plain)
1
2
3
4
5
SELECT column_name, is_nullable = 'YES', column_type, column_key = 'PRI'
FROM information_schema.columns
WHERE table_schema = DATABASE()
AND table_name = ?
ORDER BY ordinal_position