15 lines
641 B
PHP
15 lines
641 B
PHP
<?php
|
|
|
|
$SQL = "create view view_subscriptioncounties as
|
|
|
|
select subscriptioncounties.*,
|
|
date_format(subscriptioncounty_created, '%c/%e/%Y %l:%i %p') as subscriptioncounty_created_verbose,
|
|
date_format(subscriptioncounty_changed, '%c/%e/%Y %l:%i %p') as subscriptioncounty_changed_verbose,
|
|
|
|
counties.county_name as subscriptioncounties_county_name_verbose
|
|
|
|
from subscriptioncounties
|
|
|
|
left join counties
|
|
on counties.county_serial = subscriptioncounties.subscriptioncounty_county";
|
|
?>
|