-- phpMyAdmin SQL Dump
-- version 3.4.10.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 09, 2023 at 10:51 AM
-- Server version: 5.0.51
-- PHP Version: 5.3.9

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `jjlourens2`
--

-- --------------------------------------------------------

--
-- Stand-in structure for view `jobview2`
--
CREATE TABLE IF NOT EXISTS `jobview2` (
`pk_client` int(11)
,`clSurname` varchar(50)
,`clName` varchar(50)
,`clTel1` varchar(13)
,`clTel2` varchar(13)
,`clTel3` varchar(13)
,`clIDnum` varchar(13)
,`clPostal` varchar(255)
,`clEmail` varchar(255)
,`clPostalcd` int(4)
,`pk_postal` int(11)
,`suburb` varchar(50)
,`town` varchar(50)
,`fk_postal` int(11)
,`clDateJoin` date
);
-- --------------------------------------------------------

--
-- Structure for view `jobview2`
--
DROP TABLE IF EXISTS `jobview2`;

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `jobview2` AS select `clientdetails`.`pk_client` AS `pk_client`,`clientdetails`.`clSurname` AS `clSurname`,`clientdetails`.`clName` AS `clName`,`clientdetails`.`clTel1` AS `clTel1`,`clientdetails`.`clTel2` AS `clTel2`,`clientdetails`.`clTel3` AS `clTel3`,`clientdetails`.`clIDnum` AS `clIDnum`,`clientdetails`.`clPostal` AS `clPostal`,`clientdetails`.`clEmail` AS `clEmail`,`clientdetails`.`clPostalcd` AS `clPostalcd`,`setup_postal_codes`.`pk_postal` AS `pk_postal`,`setup_postal_codes`.`suburb` AS `suburb`,`setup_postal_codes`.`town` AS `town`,`clientdetails`.`fk_postal` AS `fk_postal`,`clientdetails`.`clDateJoin` AS `clDateJoin` from (`clientdetails` join `setup_postal_codes` on((`setup_postal_codes`.`pk_postal` = `clientdetails`.`fk_postal`)));

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
