88 of 100 menu

SQL Taskbook Level 9.8

The tables are given:

posts
id title
1 Lorem ipsum
2 Lorem ipsum dolor sit amet
3 Lorem ipsum dolor sit
4 Lorem ipsum dolor
tags
id name
1 IT
1 PHP
2 JavaScript
3 React
4 Angular
5 Vue.js
6 C/C++
7 Rust
post_tags
id post_id tag_id
1 1 1
2 1 2
3 1 3
4 1 4
5 1 5
6 2 7
7 2 6
8 2 5
9 2 4
10 2 3
11 3 2
12 3 7
13 3 5
14 3 6
15 4 5
16 4 1
17 4 7
18 4 6

Solve the following tasks for them:

Find the top 3 most popular tags by the number of posts containing each of them.

Find the top 3 worst tags by the number of posts containing each one.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline