Skip to main content
edited body
Source Link
Martin Smith
  • 452k
  • 6
  • 52
  • 59

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

Or, if you understand SQL:

USE <the database corresponding to your SE community>;

(SELECT COUNT(*DISTINCT hatname) FROM awardedhats GROUP BY hatname) >= 20 AND
(SELECT COUNT(*) FROM awardedhats WHERE userid = <your user ID>) >= 1

Here, awardedhats is a table with two columns; the user ID and the name of the hat.

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

Or, if you understand SQL:

USE <the database corresponding to your SE community>;

(SELECT COUNT(*) FROM awardedhats GROUP BY hatname) >= 20 AND
SELECT COUNT(*) FROM awardedhats WHERE userid = <your user ID> >= 1

Here, awardedhats is a table with two columns; the user ID and the name of the hat.

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

Or, if you understand SQL:

USE <the database corresponding to your SE community>;

(SELECT COUNT(DISTINCT hatname) FROM awardedhats) >= 20 AND
(SELECT COUNT(*) FROM awardedhats WHERE userid = <your user ID>) >= 1

Here, awardedhats is a table with two columns; the user ID and the name of the hat.

added 276 characters in body
Source Link
Glorfindel
  • 22.6k
  • 31
  • 343
  • 347

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

Or, if you understand SQL:

USE <the database corresponding to your SE community>;

(SELECT COUNT(*) FROM awardedhats GROUP BY hatname) >= 20 AND
SELECT COUNT(*) FROM awardedhats WHERE userid = <your user ID> >= 1

Here, awardedhats is a table with two columns; the user ID and the name of the hat.

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.

Or, if you understand SQL:

USE <the database corresponding to your SE community>;

(SELECT COUNT(*) FROM awardedhats GROUP BY hatname) >= 20 AND
SELECT COUNT(*) FROM awardedhats WHERE userid = <your user ID> >= 1

Here, awardedhats is a table with two columns; the user ID and the name of the hat.

Source Link
Glorfindel
  • 22.6k
  • 31
  • 343
  • 347

It means exactly what it says. If you have a hat, while the other members of the same community have at least 20 (different types of) hats, you'll get this hat.