79102189

Date: 2024-10-18 13:07:01
Score: 1
Natty:
Report link

You can dynamically grab the columns on your table using the INFORMATION_SCHEMA.

SELECT COLUMN_NAME from INFORMATION_SCHEMA.columns where TABLE_SCHEMA = "your_database" AND TABLE_NAME = "your_table"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Derwyn Henderson