Volver
Ctrl+Space
◑
Copiar
Descargar
Restaurar
Ejecutar
Ctrl+Enter
-- Ejemplo 4: Mapa de tutorial_db — cuántos registros tiene cada tabla SELECT 'clientes' AS tabla, COUNT(*) AS registros FROM clientes UNION ALL SELECT 'categorias', COUNT(*) FROM categorias UNION ALL SELECT 'productos', COUNT(*) FROM productos UNION ALL SELECT 'ordenes', COUNT(*) FROM ordenes UNION ALL SELECT 'detalle_ordenes', COUNT(*) FROM detalle_ordenes ORDER BY registros DESC
RESULTADO
Escribí un query SQL y hacé clic en
Ejecutar
o presioná
Ctrl
+
Enter