MySQL Forums
Forum List  »  Spanish

Re: Subconsulta.
Posted by: cesar moreno
Date: June 15, 2020 12:00PM

CREATE TABLE `prodlprecios` (
`codlpre` int NOT NULL DEFAULT '1',
`nomlista` varchar(20) NOT NULL DEFAULT 'NO DEFINIDO',
`codpro` varchar(20) NOT NULL DEFAULT '1',
`pcneto` decimal(10,2) DEFAULT '0.01',
`ivac` decimal(10,2) DEFAULT '21.00',
`iic` decimal(10,2) DEFAULT '0.00',
`ibc` decimal(10,2) DEFAULT '0.00',
`pc` decimal(10,2) DEFAULT '0.01',
`util` decimal(10,2) DEFAULT '1.00',
`pvneto` decimal(10,2) DEFAULT '0.01',
`ivav` decimal(10,2) DEFAULT '21.00',
`iiv` decimal(10,2) DEFAULT '0.00',
`ibv` decimal(10,2) DEFAULT '0.00',
`pv` decimal(10,2) DEFAULT '0.01',
`codcoti` int DEFAULT '1',
`factupre` date DEFAULT '2010-01-01'
) ENGINE=InnoDB DEFAULT CHARSET=latin1



CREATE TABLE `moneda` (
`codcot` int NOT NULL AUTO_INCREMENT,
`moneda` varchar(10) DEFAULT 'PESOS',
`cotiz` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`codcot`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1

Options: Reply• Quote


Subject
Views
Written By
Posted
1192
June 08, 2020 07:56PM
421
June 08, 2020 08:15PM
415
June 08, 2020 08:57PM
415
June 09, 2020 09:16AM
Re: Subconsulta.
466
June 15, 2020 12:00PM
396
June 15, 2020 01:11PM
390
June 15, 2020 03:26PM
424
June 15, 2020 04:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.