iD自生成 用户名 数值型 积分 数值型可接受空值 推荐用户
CREATE TABLE users( user_id INT UNSIGNED AUTO_INCREMENT, user_name VARCHAR(20) NOT NULL, credits INT DEFAULT 0, referral_by INT UNSIGNED, PRIMARY KEY (user_id), FOREIGN KEY (referral_by) REFERENCES users(user_id) );
Generation
iD自生成 用户名 数值型 积分 数值型可接受空值 推荐用户
CREATE TABLE users( user_id INT UNSIGNED AUTO_INCREMENT, user_name VARCHAR(20) NOT NULL, credits INT DEFAULT 0, referral_by INT UNSIGNED, PRIMARY KEY (user_id), FOREIGN KEY (referral_by) REFERENCES users(user_id) );
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description