select ...
from table1
left join mytable2 on ...
where ..
If you move contents of where clause to the join/on clause, you will change meaning of the query. select ...
from ( select ... from table1 where ... ) as table1_filtered
inner join mytable2 on ...
or CTEs with table1_filtered as ( select ... from table1 where ... )
select ...
from table1_filtered
inner join mytable2 on ... <script language="PerlScript">
$window->document->write('Hello world!');
</script>
Also you can run VBScript. I have seen code that avoid javascript confirm() and tries to check first if it can use VBScripts msgbox function, just so it can provide 'yes'/'no' buttons. Aka: function confirmVB (text)
confirmVB = msgbox ( Text , VBYesNo )
end function
and then javascript function confirmYesNo(txtText)
{
if (window.vbSupported)
{
return confirmVB(txtText);
} else {
return confirm(txtText + " (ok = yes, cancel = no)" );
}
}
Cheers
NaN is a special type indicating one can't reason about it normal way.
It is an unknown or value that can't be represented.
When comparing, think of it like comparing two bags of unknown amount of apples.
One bag has NaN count of apples
Other bag has NaN count of apples
Do the two bags have equal number of apples?
I wish all languages used nulls the way SQL does.