Home >Database >Mysql Tutorial >mysql-MYSQL查询问题,求助?

mysql-MYSQL查询问题,求助?

WBOY
WBOYOriginal
2016-06-06 09:33:31871browse

mysqlsql

图片说明

我想得到:
extension_id a(report_type=0) b(report_type=1)
4 0 1
5 1 1
6 2 0

<code>求助sql语句如何写?</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn