How can I do a few count without a loop ?? Thanks in advance;)
The first row is related to the third, this is getting the quantity from the first table, and the second row is getting the quantity from the second table.
SELECT COUNT(*), (SELECT COUNT(*) FROM `second`) FROM `first`
Source: https://ru.stackoverflow.com/questions/240908/More articles:“Share” two Java web applications among themselvesConfigure a cross domain ajax requestRewriteRule override under nginxRegistration Form: Email Input ErrorQuestion about UITableView and UITableViewCell in iOSHow to implement PageControl on android?Protection against XSS attacksConfigure Ruby On Rails Server with NGINX and UNICORN on VPSHow to optimize MySQL query?Insert does not work in the database?All Articles