2013-10-25, 16:43
Can anybody tell me if there's an addon with direct db access i can look at?
I'm new to python,but i don't think i can do it via json.
What i want to do is count the number of music of artists via the first letter (A=2, E=70 & so on)
This is the mysql query i want to run:
SELECT LEFT(strArtist, 1) AS artist, COUNT(*) AS COUNT FROM artist GROUP BY artist;
If anybody can point me in the right direction so i can run mysql query's that would be great.
Thanks
I'm new to python,but i don't think i can do it via json.
What i want to do is count the number of music of artists via the first letter (A=2, E=70 & so on)
This is the mysql query i want to run:
SELECT LEFT(strArtist, 1) AS artist, COUNT(*) AS COUNT FROM artist GROUP BY artist;
If anybody can point me in the right direction so i can run mysql query's that would be great.
Thanks