KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible in mysql to create a table with a column that combines two column values? something like this: create table test1 ( number1 int, number2 int, total int DEFAULT (number1+number2) ); or like this : CREATE TABLE `Result` ( `aCount` INT DEFAULT 0, `bCount` INT DEFAULT 0, `cCount` = `aCount` + `bCount` );
Tags (comma-separated)
Save Edits
Cancel