select descripcion, precioMayoreo, precioUnidad, dia, mes, ao from productos, fec
ha where fecha.dia =14;
SELECT * FROM productos WHERE descripcion LIKE %charola%; SELECT productos.idProducto AS clv_producto, descripcion AS producto, precioMay oreo AS mayoreo, precioUnidad AS menudeo, marca FROM productos WHERE descripcion LIKE '%charola%' and marca='REYMA';
select idVenta AS venta, ventas.idProducto AS clv_producto, cantidad, descripcio
n, precioUnidad, cantidad*precioUnidad as total from ventas,productos where idVenta=1 and ventas.idProducto= productos.idproduct O; SELECT count(cantidad) AS total de productos comprados from ventas,productos whe re idVenta=1 and ventas.idProducto= productos.idproductO; select sum(cantidad*precioUnidad) as total from ventas,productos where idVenta=1 and ventas.idProducto= productos.idproduct o;