PDA

View Full Version : viste in MYSQL


carMAN
12-05-2004, 21:07
come faccio a creare una vista in MYSQL?

vorrei che una vista contenesse, per esempio, il risultato di questa query: "select * from project", come si fa?

grazie e a presto....ciao ciao

cionci
12-05-2004, 21:40
Che io sappia non ci sono le viste...

fabio_tarantino
13-05-2004, 10:07
CREATE VIEW miatabella AS (select * from project);

ciao

cionci
13-05-2004, 10:23
Ripeto:

1.8.5.6 Views
Views are currently being implemented, and will appear in the 5.0 or 5.1 version of MySQL Server. Unnamed views (derived tables, a subquery in the FROM clause of a SELECT) are already implemented in version 4.1.

La vesione stabile corrente è la 4.0...

fabio_tarantino
13-05-2004, 10:45
vabbè deve solo aspettare qualche mese.... :D