0

i am new in sql and i would like to ask you if i can make a class in mysql. For example

class test
{
INT AGE;
INT YEAR;
}

CREATE TABLE lol (x test);
can i do this?
Thank you very much

3
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by xxmp
0

i am new in sql and i would like to ask you if i can make a class in mysql. For example

class test
{
INT AGE;
INT YEAR;
}

CREATE TABLE lol (x test);
can i do this?
Thank you very much

What is it that you want to do?

0

No. You cannot do it this way in mysql.

i am new in sql and i would like to ask you if i can make a class in mysql. For example

class test
{
INT AGE;
INT YEAR;
}

CREATE TABLE lol (x test);
can i do this?
Thank you very much

0

I would like to create a table for a db for e-shop and i would like to add in users info information like
class wish
{
INT product_id;
DATE add_date;
}

CREATE TABLE lol ( username VARCGAR(30), password VARCHAR(30), wish_list wish);
Can i use a table in mysql?
Thank you very much

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.