1. Read
  2. Vote
  3. Old
  4. New
  5. Hot
  6. Reply

Wiki: Topnew Data Docs

TODO
Cat: CMS | Read: 6326 | 11/11/2018

SQL row sum

Given an SQL table

ID Amt
-- ---
1 100
2 200
3 300

Please write a MySQL statement to produce the following result:

ID Amt Total
-- --- -----
1  100 100
2  200 300
3  300 600

And here is an example SQL:

SELECT a.ID, a.Amt, sum(b.Amt) AS Total
FROM tab AS a
JOIN tab AS b ON a.ID >= b.ID
GROUP BY 1,2
Cat: SIDU | Read: 13723 | 02/11/2018

Topnew CSS v 2023 Text

5 - Text

5.1 Text align: al ac ar aj, vt vm vb



al = left
ac = center
ar = right
aj = adjust. This l
Cat: CMS | Read: 1275 | 15/04/2022
Tags: CSS

Topnew CSS v 2023 Shape

4 - Shape

4.1 Common shapes

rc = box with round corners

box
rc
btn
tab
tabL
tabR
tabB
Cat: CMS | Read: 1108 | 14/04/2022
Tags: CSS

Topnew CSS v 2023 Color

3 - Color
We have text colors, background colors

3.1 Text colors

red, green, blue, gold, grey, dark. And there is default.

3.2 Bac
Cat: CMS | Read: 1177 | 13/04/2022
Tags: CSS
  1. 1
  2. 2
  3. 3
  4. 4
  5. »

Category