Top "Nested" questions

This tag relates to any of various nested entities or operations in programming.

Can you create nested WITH clauses for Common Table Expressions?

WITH y AS ( WITH x AS ( SELECT * FROM MyTable ) SELECT * FROM x ) SELECT * FROM y Does something like this work? …

sql sql-server tsql nested common-table-expression
Nested or Inner Class in PHP

I'm building a User Class for my new website, however this time I was thinking to build it little bit …

php class oop nested inner-classes
How can I combine multiple nested Substitute functions in Excel?

I am trying to set up a function to reformat a string that will later be concatenated. An example string …

excel excel-formula nested substitution nested-function
How do you overcome the HTML form nesting limitation?

I know that XHTML doesn't support nested form tags and I have already read other answers here on Stack Overflow …

html forms nested
Return value from nested function in Javascript

I have a function that is set up as follows function mainFunction() { function subFunction() { var str = "foo"; return str; } } var …

javascript function nested return-value return
CASE statement in SQLite query

Why this query doesn't work? :( I tried to replace nested IF statement "...SET lkey = IF(lkey >= 11, lkey - 5, IF(…

sqlite nested case
Nested jQuery.each() - continue/break

Consider the following code: var sentences = [ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'Vivamus aliquet nisl quis velit …

jquery nested each break continue
PHP foreach with Nested Array?

I have a nested array in which I want to display a subset of results. For example, on the array …

php arrays foreach nested
Angular ui-router - how to access parameters in nested, named view, passed from the parent template?

Hi I am trying to access a parameter in the controller "ViewWorklogCrtl" while using ui-router and running into difficulty. Basically, …

javascript angularjs nested angular-ui-router
How to access outer class from an inner class?

I have a situation like so... class Outer(object): def some_method(self): # do something class Inner(object): def __init__(…

python scope nested inner-classes