{"datasette": "", "columns": ["query"], "rows": [""], "sql": "select 'select\r\n' || group_concat(' case when [' || name || '] is not null then ' || quote(name || ', ') || ' else '''' end', ' ||\r\n') || '\r\n as columns,\r\n count(*) as num_rows\r\nfrom\r\n [' || :table || ']\r\ngroup by\r\n columns\r\norder by\r\n num_rows desc' as query from pragma_table_info(:table)", "query_name": null, "database": "fixtures", "table": null, "request": "", "view_name": "table", "1+1": 2}