49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"query": "SELECT COUNT(*) as total_veille FROM veille_items; SELECT COUNT(*) as total_aap FROM aap_items; SELECT typeVeille, COUNT(*) as nb FROM veille_items GROUP BY typeVeille; SELECT categorie, COUNT(*) as nb FROM aap_items GROUP BY categorie;",
|
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.63b125a8f9ca --database VepzDyqR8YkJNcqpZ729Bw --execute SELECT COUNT(*) as total_veille FROM veille_items; SELECT COUNT(*) as total_aap FROM aap_items; SELECT typeVeille, COUNT(*) as nb FROM veille_items GROUP BY typeVeille; SELECT categorie, COUNT(*) as nb FROM aap_items GROUP BY categorie;",
|
|
"rows": [
|
|
{
|
|
"total_veille": "38"
|
|
},
|
|
{
|
|
"total_veille": "total_aap"
|
|
},
|
|
{
|
|
"total_veille": "7"
|
|
},
|
|
{
|
|
"total_veille": "typeVeille\tnb"
|
|
},
|
|
{
|
|
"total_veille": "concurrentielle\t4"
|
|
},
|
|
{
|
|
"total_veille": "technologique\t4"
|
|
},
|
|
{
|
|
"total_veille": "reglementaire\t13"
|
|
},
|
|
{
|
|
"total_veille": "generale\t17"
|
|
},
|
|
{
|
|
"total_veille": "categorie\tnb"
|
|
},
|
|
{
|
|
"total_veille": "PA\t1"
|
|
},
|
|
{
|
|
"total_veille": "Sanitaire\t4"
|
|
},
|
|
{
|
|
"total_veille": "Handicap\t1"
|
|
},
|
|
{
|
|
"total_veille": "Autre\t1"
|
|
}
|
|
],
|
|
"messages": [],
|
|
"stdout": "total_veille\n38\ntotal_aap\n7\ntypeVeille\tnb\nconcurrentielle\t4\ntechnologique\t4\nreglementaire\t13\ngenerale\t17\ncategorie\tnb\nPA\t1\nSanitaire\t4\nHandicap\t1\nAutre\t1\n",
|
|
"stderr": "",
|
|
"execution_time_ms": 66
|
|
} |