Está en la página 1de 1

/*select * from tablaprueba

select usuario, AVG(edad) from tablaprueba where sexo ='M'


group by usuario
having avg(edad) > 20*/
/* > < */
select * from tablaprueba
select EdadActual-edad from tablaprueba
order by id_usuario
select usuario,sexo,edad from tablaprueba where (edad >15 and edad < 150 and sex
o = 'm')
select *from tablaprueba where edad between 15 and 150 and sexo = 'm'
update tablaprueba set usuario = 'axel',edad=100, sexo='m', EdadActual=150
where id_usuario=10
select *from tablaprueba
SELECT * FROM CLIENTE
WHERE EDAD BETWEEN 22 AND 26;
select usuario,edad,sexo
CASE
when 'marco'
then 12
else 'pedro'

También podría gustarte