How to design a database to store words uploaded by users

users upload words through the web page, limiting the total number of words uploaded by each user and the space occupied by all words. If the words are not duplicated, how to design a database to save each word uploaded by a user? to ensure that the total number of words or the space occupied by all words reaches the upper limit will fail to upload

Mar.18,2021

you can create two tables: a customer table Customer , a vocabulary list Word
first of all, Customer Table:

    (Id)              ()       ()
   CustomerId             Name         Num     
        1                           2
        2                           5
        3                           8

then Word Table:

   (Id)          (Id)       () 
   WordId            CustomerId          Size
     1                   3                5
     2                   1                9
     3                   2                10
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e49445-44d20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e49445-44d20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?